package com.ciaojian.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ciaojian.core.model.WorkService;
import com.ciaojian.core.model.vo.WorkServiceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发型师服务 mapper
 *
 * @author Atlakyn
 */
@Mapper
public interface WorkServiceMapper extends BaseMapper<WorkService> {

    /**
     * 根据发型师id获取发型师服务列表
     *
     * @param workerId 发型师 id
     * @return 发型师服务列表
     */

    List<WorkServiceVO> getByWorkerIdList(@Param("workerId") Integer workerId, @Param("isShow") Integer isShow);
}
